home *** CD-ROM | disk | FTP | other *** search
- Path: stern.fokus.gmd.de!news
- From: Watson <sayegh@fokus.gmd.de>
- Newsgroups: comp.lang.c
- Subject: Re: const char??
- Date: Tue, 20 Feb 1996 12:04:50 +0100
- Organization: GMD FOKUS - Research Institute for Open Communication Systems
- Message-ID: <3129AAD2.2701@fokus.gmd.de>
- References: <31287436.1235873@news.inforamp.net>
- NNTP-Posting-Host: pollux.fokus.gmd.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-2
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
-
- Danny Heuman wrote:
- > What is a const char? I am getting an error at compile time stating
- > that it can not convert an int to a const char. I'm using strcpy.
-
- Neither an int nor a char should be involved
- into a call to
-
- char *strcpy(char *dst, const char *src);
- --
- * Greetinx from Watson (sayegh@fokus.gmd.de)
- http://www.fokus.gmd.de/ovma/employees/sayegh/entry.html
- signal(SIGSEGV,SIG_IGN);
-